package com.konka.spring.framework.beans.config;

/**
 * @author konka
 * @date 2023/2/8
 * @description:
 */
public class BeanDefinition {
    /**
     * beanName
     */
    private String factoryBeanName;

    /**
     * 类的全限定名
     */
    private String beanClassName;

    /**
     * 是否懒加载
     */
    private boolean lazyInit;

    public BeanDefinition() {
    }

    public BeanDefinition(String factoryBeanName, String beanClassName) {
        this.factoryBeanName = factoryBeanName;
        this.beanClassName = beanClassName;
    }

    public String getFactoryBeanName() {
        return factoryBeanName;
    }

    public void setFactoryBeanName(String factoryBeanName) {
        this.factoryBeanName = factoryBeanName;
    }

    public String getBeanClassName() {
        return beanClassName;
    }

    public void setBeanClassName(String beanClassName) {
        this.beanClassName = beanClassName;
    }

    public boolean isLazyInit(){
        return lazyInit;
    }
}
